using System;
using System.Collections.Generic;
using System.Text;

namespace Web.Core.Objects
{
    public class Currency
    {
        int _ID;
        float _rate;
        string _name, _symbol;

        public int ID
        {
            get { return _ID; }
            set { _ID = value; }
        }

        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        public string Symbol
        {
            get { return _symbol; }
            set { _symbol = value; }
        }

        public float Rate
        {
            get { return _rate; }
            set { _rate = value; }
        }

        public Currency() { }

        public Currency(int id, string name, string symbol, float rate)
        {
            ID = id;
            Name = name;
            Symbol = symbol;
            Rate = rate;
        }
    }
}
